.PHONY:all
all:servercal clientcal

Flag= -DMySelf=1
Lib = -ljsoncpp

servercal:ServerCalcu.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)
clientcal:ClientCalcu.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)

.PHONY:clean
clean:
	rm -f servercal clientcal